import React from 'react'
import * as actionCreators from '@store/actionCreators'
import { connect } from 'react-redux'

@connect(
    state => ({
        indexReducer: state.index
    }),
    dispatch => ({
        setActiveHeader: (value) => dispatch(actionCreators.setActiveHeader(value))
    })
)
class Home extends React.Component {

    constructor(props) {
        super(props)

        this.state = {
            
        }
    }

    componentDidMount() {
        
    }

    render() {

        const {
            leftMenuData
        } = this.props.indexReducer

        // console.log(leftMenuData)
        
        return(
            <div className="page_home">
                <div className="container">
                    <div className="left_box">
                        1
                    </div>
                    <div className="right_box">
                        <div className="dev_history">
                            <div className="dh_header">
                                开发者日志
                            </div>
                            <div className="dh_content">
                                <ul>
                                    <li></li>
                                </ul> 
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        )
    }
}

export default Home